/*
 * Copyright (C) 2015 yixun All Rights Reserved.
 * 
 * PremisesVo.java
 */
package com.yixun.qfbao.xf.controller.vo;
import java.util.List;

import org.springframework.beans.BeanUtils;

import com.yixun.qfbao.xf.model.dto.PremisesDto;

/**
 * [文件名称]<br>
 * PremisesVo.java<br>
 * <br>
 * [文件描述]<br>
 * 楼盘信息 表单辅助类<br>
 * <br>
 * [修改记录]<br>
 * 2015-10-14 15:34:13 创建 陶俊代码生成器<br>
 * 
 * @author 陶俊代码生成器
 * @version 1.00
 */
public class PremisesVo extends PremisesDto{
	private static final long serialVersionUID = 1L;
	
	private List<String> apartments;
	private String apartmentsList;

	/**
	 * 1 为绑定 0 解绑
	 */
	private String bindStatus;
	
	public List<String> getApartments() {
		return apartments;
	}


	public void setApartments(List<String> apartments) {
		this.apartments = apartments;
	}


	public String getApartmentsList() {
		return apartmentsList;
	}


	public void setApartmentsList(String apartmentsList) {
		this.apartmentsList = apartmentsList;
	}


	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getBindStatus() {
		return bindStatus;
	}

	public void setBindStatus(String bindStatus) {
		this.bindStatus = bindStatus;
	}

	public PremisesDto toDto(){
		PremisesDto dto = new PremisesDto();
		BeanUtils.copyProperties(this,dto);
		return dto;
	}
}
